@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
	color: #284265;

}
.main-nav {
    background-color: #284265 !important;
	filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}
.layer {
    fill: #E3FFF9 !important;
}
.navLink {
    color: #ffffff !important;
}
.logotext {
    color: #ffffff;
}
.active-nav-a {
    color: #FC7900 !important;
}

.about-banner {
    height: 20em;
    overflow: hidden;
    position: relative;
}
h1 {
    font-size: 3em;
    color: #FC7900;
	font-weight: 700 !important;
}
.about-banner img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    position: relative;
    z-index: -1;
    position: fixed;
}
.about-banner .overlay {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 66, 101, 0.54);
    display: flex;
    justify-content: center;
    align-items: center;
}
.teachers-section {
    padding-top: 10em;
    background-color: #E3FFF9;
}
.whoAre {
	background-color: #BDF7FF;
}
.whoAre li{
	list-style: none;
}

body {
	line-height: 1.67;
	background-color: #E3FFF9 !important;
}

a {
	color: #e45245;
}

a:hover {
	text-decoration: none;
}

/*  Team Starts */
.team-members {
	transform: rotate(-45deg);
}
.team-members li > div {
	float: left;
	width: 20%;
}
.container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.team-members li:nth-child(2) > div:first-child {
	margin-left: 20%;
}

.team-members li:last-child > div:first-child {
	margin-left: 40%;
}

.member-details > div {
	background-color: rgb(177, 169, 169);
	margin: 5px;
	padding: 1.2px;
}
.member-details img {
	transform: rotate(45deg) translate(0, 15px) scale(1.2);
	padding: 10px;
	display: block;
	width: 100%;
	height: 100%;
}

/* hover content - style */
.member-details > div {
	position: relative;
	overflow: hidden;
}

.member-info {
	position: absolute;
	top: 50%;
	transform: rotate(45deg) translate(-12px, 15px);
	left: 0;
	right: 0;
	z-index: 2;
	text-align: center;
}

.member-info h3,
.member-info p {
	margin: 0;
	color: #fff;
	position: relative;
	opacity: 0;
	visibility: hidden;
}

.member-info h3 {
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 400;
	top: -100px;
}

.member-info p {
	font-weight: 300;
	font-size: 12px;
	bottom: -150px;
}

.member-details > div:after {
	content: '';
	background-image: linear-gradient(45deg, rgba(228, 82, 69, .8) 50%, transparent 50%);
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
}

/* hover content - onhover */
.member-details *,
.member-details > div:after {
	cursor: pointer;
	transition: all .4s ease;
}

.member-details:hover *,
.member-details:hover > div:after {
	opacity: 1;
	visibility: visible;
}

.member-details:hover .member-info h3 {
	top: 0;
}

.member-details:hover .member-info p {
	bottom: 0;
}

/* Team overview */
.team-overview {
	padding-right: 15px;
}
.team-overview h2 {
	text-transform: uppercase;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 5px;
}

.team-overview > a {
	padding: 10px;
	margin-bottom: 50px;
	display: block;
}

.team-overview > a:before {
	content: '';
	width: 10px;
	height: 2px;
	position: relative;
	top: -3px;
	margin-right: 5px;
	background-color: #ccc;
	display: inline-block;
}


/* For centering elements - optional - Can use table,tablecell instead */
.flex-center {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.flex-center > div:first-child {
	order: 2;
}
.wrapper {
	height: auto !important;
}
.team-members  {
	/* position: absolute; */
	top: 14em;
}
.whoAre {
	margin: auto;
	height: 100vh;
	max-height: 828px;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media only screen and (max-width: 990px) {
	.team-flex {
		row-gap: 5em;
	}
}
.container-whoAre {
	width: 80%;
	margin: auto;
}
.team-members img {
	object-fit: contain;
	max-width: 14em;
}
/* RESPONSIVE */
@media only screen and (max-width : 1202px) {
	.sm-no-flex {
		display: block;
	}
	.sm-no-float {
		float: none !important;
	}
	.sm-text-center {
		text-align: center;
	}
	.team-members {
		transform: rotate(0deg);
	}
}

@media only screen and (max-width : 550px) {
	.team-members li {
		text-align: center;
	}
	.team-members li > div {
		float: none;
		display: inline-block;
		width: 30%;
		margin: 0 !important;
	}
	.team-members {
		transform: rotate(0);
	}
	.member-details img {
		transform: rotate(0) translate(0, 0);
	}
	.team-overview {
		padding: 15px;
	}
	
	
}

@media only screen and (max-width : 399px) {
	.team-members li > div {
		width: 48%;
	}
}

.texts{
	padding: 100px;
	text-align: center;
	justify-content: center;
	font-size: 1.2rem;
	background-image: url(/images/missionandvision.jpg);

}
.OurMission {
	background-color: #BDF7FF;
}
.ourmission-container {
	height: 40em;
	width: 80%;
	margin: auto;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	align-items: center;
}
.text-ourmission {
	max-width: 50em;
	text-align: center;
}
.text-ourmission h2 {
	font-weight: 700;
	font-size: 2.5em;
}
.flip {
	flex-direction: column
}

.text-ourmission-imgBox img {
	width: 100%;
	min-width: 27em;
	height: 100%;
	object-fit: cover;
}


@media only screen and (max-width : 1300px) {
	.ourmission-container {
		width: 90%;
	}
}

@media only screen and (min-width : 1038px) {
	.ourmission-container {
		flex-direction: row !important;
		gap: 5em;
	}
	.flip {
		flex-direction: row-reverse !important;
	}

}
